import java.time*;
import java.util.Scanner;
import static java.lang.System.out;

public class Howold2{
	public static void main(String[] args){
		out.printf("输入年月日(yyyy-m-out):);
		LocalDate birth = LocalDate.parse(new Scanner(System.in).nextLine);
		LocalDate now = LocalDate.now();
		Period period = Period.between(birth.now);
		out.printf("你活了 %d 年 %d 月 %d日%n“);
		    period.getYears(),period.getMonths(),period.getDays());
	}
}

